home *** CD-ROM | disk | FTP | other *** search
Makefile | 1988-11-23 | 3.5 KB | 88 lines |
- #
- # Copyright (c) 1987 Regents of the University of California.
- # All rights reserved.
- #
- # Redistribution and use in source and binary forms are permitted
- # provided that the above copyright notice and this paragraph are
- # duplicated in all such forms and that any documentation,
- # advertising materials, and other materials related to such
- # distribution and use acknowledge that the software was developed
- # by the University of California, Berkeley. The name of the
- # University may not be used to endorse or promote products derived
- # from this software without specific prior written permission.
- # THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
- # IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
- # WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
- #
- # @(#)Makefile 5.18 (Berkeley) 6/18/88
- #
- CFLAGS= -O
- RES=
- LIBC= /lib/libc.a
- LIBS= -ll ${RES}
- CSRCS= main.c getinfo.c debug.c send.c skip.c list.c subr.c
- SRCS= ${CSRCS} commands.c
- OBJS= main.o getinfo.o debug.o send.o skip.o list.o subr.o commands.o
-
- .SUFFIXES: .1 .0
-
- .1.0:
- ${DESTDIR}/usr/man/manroff $*.1 > $*.0
-
- nslookup: ${OBJS} ${LIBC}
- ${CC} -o $@ ${OBJS} ${LIBS}
-
- clean: FRC
- rm -f ${OBJS} core nslookup commands.c nslookup.0 lex.yy.c lex.yy.o
-
- depend: ${SRCS} FRC
- mkdep ${CFLAGS} ${SRCS}
-
- install: nslookup.0 FRC
- install -s -o bin -g bin -m 755 nslookup ${DESTDIR}/usr/local/nslookup
- install -c -o bin -g bin -m 444 nslookup.help ${DESTDIR}/usr/local/nslookup.help
- install -c -o bin -g bin -m 444 nslookup.0 ${DESTDIR}/usr/local/man/cat1/nslookup.0
-
- lint: ${SRCS} FRC
- lint ${SRCS}
-
- tags: ${CSRCS} FRC
- ctags ${CSRCS}
-
- FRC:
-
- # DO NOT DELETE THIS LINE -- mkdep uses it.
- # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
-
- main.o: main.c /usr/include/stdio.h /usr/include/strings.h
- main.o: /usr/include/sys/param.h /usr/include/sys/types.h /usr/include/signal.h
- main.o: /usr/include/machine/trap.h /usr/include/machine/machparam.h
- main.o: /usr/include/machine/endian.h /usr/include/netdb.h
- main.o: /usr/include/sys/socket.h /usr/include/netinet/in.h
- main.o: /usr/include/arpa/nameser.h /usr/include/resolv.h /usr/include/signal.h
- main.o: /usr/include/setjmp.h res.h
- getinfo.o: getinfo.c /usr/include/sys/types.h /usr/include/sys/socket.h
- getinfo.o: /usr/include/netinet/in.h /usr/include/stdio.h /usr/include/ctype.h
- getinfo.o: /usr/include/arpa/nameser.h /usr/include/resolv.h res.h
- debug.o: debug.c /usr/include/sys/types.h /usr/include/netinet/in.h
- debug.o: /usr/include/stdio.h /usr/include/arpa/nameser.h /usr/include/resolv.h
- debug.o: res.h
- send.o: send.c /usr/include/sys/types.h /usr/include/sys/time.h
- send.o: /usr/include/time.h /usr/include/sys/socket.h /usr/include/netinet/in.h
- send.o: /usr/include/stdio.h /usr/include/arpa/nameser.h /usr/include/resolv.h
- send.o: res.h
- skip.o: skip.c /usr/include/sys/types.h /usr/include/netinet/in.h
- skip.o: /usr/include/stdio.h /usr/include/arpa/nameser.h
- list.o: list.c /usr/include/sys/types.h /usr/include/sys/socket.h
- list.o: /usr/include/netinet/in.h /usr/include/netdb.h /usr/include/stdio.h
- list.o: /usr/include/strings.h /usr/include/ctype.h /usr/include/arpa/nameser.h
- list.o: /usr/include/resolv.h res.h
- subr.o: subr.c /usr/include/stdio.h /usr/include/strings.h
- subr.o: /usr/include/sys/types.h /usr/include/netdb.h /usr/include/sys/socket.h
- subr.o: /usr/include/netinet/in.h /usr/include/arpa/nameser.h
- subr.o: /usr/include/signal.h /usr/include/machine/trap.h /usr/include/setjmp.h
- subr.o: res.h
- commands.o: commands.c /usr/include/stdio.h res.h
-
- # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
-